package ${config.modelConfig.packageUrl};

import com.klsoft.modular.common.model.BaseModel;

/**
 * ${table.tableComment}
 * @author ${config.author}
 * @date ${nowDate}
 * @(C) ${config.copyRight} Copyright 
 */
public class ${table.modelName} extends BaseModel{
<#list columnList as column>
    <#if column.propertyName !='createTime' && column.propertyName !='modifyTime'&& column.propertyName !='enabled'&& column.propertyName !='id'&& column.propertyName !='modifyAdminId'>
	<#if column.isNullable?? && column.isNullable == 'NO'>
    /** ${column.columnComment} */
    @NotNull(message = "${column.columnComment}不能为空")
    private ${column.propertyDataType} ${column.propertyName};
	<#else>
    /** ${column.columnComment} */
    private ${column.propertyDataType} ${column.propertyName};
    </#if>
    </#if>
</#list>
<#list columnList as column>
    <#if column.propertyName !='createTime' && column.propertyName !='modifyTime'&& column.propertyName !='enabled'&& column.propertyName !='id'&& column.propertyName !='modifyAdminId'>
    public ${column.propertyDataType} get${column.gsPropertyName}() {
        return ${column.propertyName};
    }
    public void set${column.gsPropertyName}(${column.propertyDataType} ${column.propertyName}) {
        this.${column.propertyName} = ${column.propertyName};
    }
    </#if>
</#list>
}